package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @hibernate.class table="VIEW_YSZB"
 * 
 */
public class ViewYszb implements Serializable {
	private String rownum;
	private String yszbbm;
	private String nd;
	private String zclxDm;
	private String zclxMc;
	private String yskmbh;
	private String kmbm;
	private String kmmc;
	private String ysxmbm;
	private String xmbm;
	private String xmmc;
	private String sjyszbbm;
	private String zbztBz;

	public ViewYszb() {
		super();
		// TODO Auto-generated constructor stub
	}

	public ViewYszb(String rownum, String yszbbm, String nd, String zclxDm,
			String zclxMc, String yskmbh, String kmbm, String kmmc,
			String ysxmbm, String xmbm, String xmmc, String sjyszbbm,
			String zbztBz) {
		super();
		this.rownum = rownum;
		this.yszbbm = yszbbm;
		this.nd = nd;
		this.zclxDm = zclxDm;
		this.zclxMc = zclxMc;
		this.yskmbh = yskmbh;
		this.kmbm = kmbm;
		this.kmmc = kmmc;
		this.ysxmbm = ysxmbm;
		this.xmbm = xmbm;
		this.xmmc = xmmc;
		this.sjyszbbm = sjyszbbm;
		this.zbztBz = zbztBz;
	}

	public String getRownum() {
		return rownum;
	}

	public void setRownum(String rownum) {
		this.rownum = rownum;
	}

	public String getYszbbm() {
		return yszbbm;
	}

	public void setYszbbm(String yszbbm) {
		this.yszbbm = yszbbm;
	}

	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}

	public String getZclxDm() {
		return zclxDm;
	}

	public void setZclxDm(String zclxDm) {
		this.zclxDm = zclxDm;
	}

	public String getZclxMc() {
		return zclxMc;
	}

	public void setZclxMc(String zclxMc) {
		this.zclxMc = zclxMc;
	}

	public String getYskmbh() {
		return yskmbh;
	}

	public void setYskmbh(String yskmbh) {
		this.yskmbh = yskmbh;
	}

	public String getKmbm() {
		return kmbm;
	}

	public void setKmbm(String kmbm) {
		this.kmbm = kmbm;
	}

	public String getKmmc() {
		return kmmc;
	}

	public void setKmmc(String kmmc) {
		this.kmmc = kmmc;
	}

	public String getYsxmbm() {
		return ysxmbm;
	}

	public void setYsxmbm(String ysxmbm) {
		this.ysxmbm = ysxmbm;
	}

	public String getXmbm() {
		return xmbm;
	}

	public void setXmbm(String xmbm) {
		this.xmbm = xmbm;
	}

	public String getXmmc() {
		return xmmc;
	}

	public void setXmmc(String xmmc) {
		this.xmmc = xmmc;
	}

	public String getSjyszbbm() {
		return sjyszbbm;
	}

	public void setSjyszbbm(String sjyszbbm) {
		this.sjyszbbm = sjyszbbm;
	}

	public String getZbztBz() {
		return zbztBz;
	}

	public void setZbztBz(String zbztBz) {
		this.zbztBz = zbztBz;
	}

	public String toString() {
		return new ToStringBuilder(this).append("rownum", getYszbbm())
				.toString();
	}

	public boolean equals(Object other) {
		if (!(other instanceof ViewYszb))
			return false;
		ViewYszb castOther = (ViewYszb) other;
		return new EqualsBuilder().append(this.getRownum(),
				castOther.getRownum()).isEquals();
	}

	public int hashCode() {
		return new HashCodeBuilder().append(getRownum()).toHashCode();
	}

}
